package com.example.backblog.dto.blog;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class BlogNoContentDto {
    private Long id;
    private String title;
    private Long views;
    private Long likes;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date date;
    private Long categoryId;
    private String picture;
}
